﻿using System;

namespace ObjectModel
{
    [Table(Name="neighbourhoods")]
    public class Neighbourhood : BaseEntity<Neighbourhood>
    {
        [Field(Name = "name")]
        public String Name { get; set; }

        [Field(IsOtherTable = true, Name = "id_city")]
        public City City { get; set; }

        [Field(Name = "description")]
        public String Description { get; set; }
    }
}
